from django.urls import path
from . import views

urlpatterns = [
    path("index/lbt",views.GetLbt.as_view()), # 获取轮播图
    path("index/hotbook",views.Remen.as_view()), # 获取热门书籍
    path("index/yuepiao",views.YuePiao.as_view()), # 获取月票最高
    path("cate/getcateall",views.GetCate.as_view()), # 获取书籍分类
    path("book/catebook/<int:id>",views.GetBook.as_view()), # 获取分类下的书籍
    path("book/zj/<int:id>",views.GetSection.as_view()), # 根据书籍获取章节
    path("book/content/<int:id>",views.GetContent.as_view()), # 根据章节获取内容
    path("book/addsq/<int:id>",views.AddSq.as_view()), # 添加书签
    path("book/getsq",views.GetSq.as_view()), # 获取书签

]